#define _CRT_SECURE_NO_WARNINGS 1

#include"Heap.h"

int main()
{
	HP hp;
	HeapInit(&hp);
	HeapPush(&hp, 35);
	HeapPush(&hp, 534);
	HeapPush(&hp, 354);
	HeapPush(&hp, 215);
	HeapPush(&hp, 56);
	HeapPush(&hp, 1);

	while (!HeapEmpty(&hp))
	{
		printf("%d ", HeapTop(&hp));
		HeapPop(&hp);
	}
	printf("\n");
	return 0;
}